package com.xiyu.service.vo.office.space;

import com.xiyu.service.vo.office.space.baseVO.OfficeSpaceBase;
import com.xiyu.service.vo.office.space.baseVO.OfficeSpaceWorkerBase;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

import jakarta.validation.Valid;
import com.xiyu.service.enums.common.CommonStatusEnum;
import com.xiyu.service.framework.validation.InEnum;

@Schema(description = "更新办公用房")
@Data
public class SpaceUpdateInput extends OfficeSpaceBase {

    @Schema(description = "办公用房职工")
    @Valid
    private List<spaceWorker> spaceWorkers;

    @Schema(description = "办公用房主键ID")
    private Long id;

    @Schema(description = "办公用房职工")
    @Data
    @Valid
    public static class spaceWorker extends OfficeSpaceWorkerBase {

        @Schema(description = "办公用房职工主键ID")
        private Long id;

        @Schema(description = "操作方式")
        private String operateType;
    }

}